package com.swjd.dao;

import com.swjd.pojo.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersMapper {

    int insertByOrders(Orders orders);//添加订单信息

    int updateByOrders(Orders orders);//修改订单信息

    List<Orders> selectUserByOrders(@Param("username") String username);//用户查询订单信息

    int deleteByPrimaryKey(String orderID);

    int insert(Orders record);

    Orders selectByPrimaryKey(String orderID);

    int updateByPrimaryKey(Orders record);
}